package com.neu.service.impl;

import com.neu.dao.impl.RoomRecordDao;
import com.neu.pojo.Patient;
import com.neu.pojo.RoomRecord;

public class RoomRecordService {
	private RoomRecordDao recordDao = RoomRecordDao.getInstance();
	
	private static RoomRecordService roomRecordService = new RoomRecordService();
	private RoomRecordService() {}
	public static RoomRecordService getInstance() {
		return roomRecordService;
	}
	
	public boolean add(RoomRecord record) {
		return this.recordDao.add(record);
	}
	
	public boolean isin(Patient p) {
		return this.recordDao.isin(p);
	}
	
}
